package com.cgg.designpatterns.iterator;

import java.util.Iterator;

/**
 * @author Xiecheng create on 2021/6/27
 *
 * 迭代器的主接口
 */
public interface Aggregate<T> {
    Iterator<T> iterator();
}
